﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Ingenta.IServices
{
    public interface IBaseServices<TEntity> where TEntity : class
    {
        List<TEntity> QueryWhere(Expression<Func<TEntity, bool>> predicate);

        void Add(TEntity model);

        int SaveChanges();
    }
}
